<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_id" data-rule="required" data-source="match/match/index" {if $matchId } disabled{/if} class="form-control selectpage"  data-primary-key="m_id" data-field="name" data-pagination="true" name="row[match_id]" type="text" value="{$matchId}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Round_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-round_id" data-rule="required" data-source="match/round/index" {if $roundId } disabled{/if} class="form-control selectpage" data-pagination="true" data-field="title" data-primary-key="id" name="row[round_id]" type="text" value="{$roundId}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_number" data-rule="required" class="form-control" name="row[group_number]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_inner_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_inner_number" data-rule="required" class="form-control" name="row[group_inner_number]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Member_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-member_id" data-rule="required" data-source="match/member/index" class="form-control selectpage" data-pagination="true" data-primary-key="id" data-field="mobile" name="row[member_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
